﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="He.Web.manage.network.list" %>

<%@ Register Src="../_uc/head_list.ascx" TagPrefix="uc" TagName="head_list" %>
<%@ Register Src="../_uc/head.ascx" TagPrefix="uc" TagName="head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>营销网络管理</title>
    <uc:head runat="server" ID="uchead" />
    <uc:head_list runat="server" ID="uchead_list" />
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">
    <div class="navigation">
        <span class="add"><a href="edit.aspx?lang=<%=lang %>">增加营销网络节点</a></span><b>您当前的位置：首页
            &gt; 互动模块 &gt; 营销网络列表</b></div>
    <div class="spClear">
    </div>
    <asp:Repeater ID="rptInfo" runat="server">
        <HeaderTemplate>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
                <tr>
                    <th width="6%">
                        选择
                    </th>
                    <th width="6%">
                        编号
                    </th>
                    <th>
                        网络名称
                    </th>
                    <th>
                        省份
                    </th>
                    <th width="90">
                        是否显示
                    </th>
                    <th width="8%">
                        操作
                    </th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <asp:CheckBox ID="Check" CssClass="checkall" runat="server"></asp:CheckBox><asp:HiddenField
                        ID="HiddenId" Value='<%#Eval("id") %>' runat="server" />
                </td>
                <td>
                    <asp:Label ID="lb_id" runat="server" Text='<%#Eval("id")%>'></asp:Label>
                </td>
                <td>
                    <%#Eval("title") %>
                </td>
                <td>
                    <%#Eval("province")%>
                </td>
                <td>
                    <asp:ImageButton ID="ibtnRed" OnCommand="ibtnRed_Command" CommandArgument='<%#Eval("id") %>'
                        runat="server" ImageUrl='<%# Convert.ToInt32(Eval("is_show")) == 1 ? "../Images/ico-2.png" : "../Images/ico-2_.png"%>'
                        ToolTip='<%# Convert.ToInt32(Eval("is_show")) == 1 ? "取消推荐" : "设置推荐"%>' />
                </td>
                <td>
                    <span><a href="edit.aspx?id=<%#Eval("id") %>&lang=<%=lang %>&action=<%=He.Web.UI.Enums.ActionEnum.Edit %>">
                        修改</a></span>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <div class="spClear">
    </div>
    <div style="line-height: 30px; height: 30px;">
        <div id="Pagination" class="manage_footright flickr">
        </div>
        <div class="left">
            <span class="btn_all" onclick="CheckAll(this)">全 选</span> <span class="btn_bg">
                <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtnDel_Click" OnClientClick="return confirm( '确定要删除这些记录吗？ ');">删除</asp:LinkButton></span>
        </div>
    </div>
    </form>
</body>
</html>
